package com.zzyl.service;

import com.aliyun.iot20180120.models.QueryDevicePropertyStatusRequest;
import com.aliyun.iot20180120.models.QueryDevicePropertyStatusResponseBody;
import com.aliyun.iot20180120.models.QueryThingModelPublishedResponseBody;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.ProductVo;
import com.zzyl.vo.retreat.DeviceVo;

import java.util.List;

public interface DeviceService {
    void qureyDeviceList();

    List<ProductVo> getAllProduct();

    void registerDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> pageQueryDevice(DevicePageQueryDto devicePageQuery);

    DeviceVo queryDeviceDetail(DeviceDto deviceDto);


    QueryDevicePropertyStatusResponseBody.QueryDevicePropertyStatusResponseBodyData queryDevicePropertyStatus(DeviceVo deviceDto);

    QueryThingModelPublishedResponseBody.QueryThingModelPublishedResponseBodyData queryThingModelPublished(DeviceVo deviceDto);

    void updateDevice(DeviceDto deviceDto);

    void deleteDevice(DeviceDto deviceDto);
}
